package org.monkey.example.websocket.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import org.springframework.stereotype.Repository;
import org.monkey.example.websocket.entity.form.SocketMsgListForm;
import org.monkey.example.websocket.entity.form.SocketMsgPageForm;
import org.monkey.example.websocket.entity.po.SocketMsgPO;
@Repository
public interface SocketMsgDao extends BaseMapper<SocketMsgPO> {

  IPage<SocketMsgPO> page(Page<SocketMsgPO> page,@Param("queryForm") SocketMsgPageForm pageForm);

  List<SocketMsgPO> list(@Param("queryForm")SocketMsgListForm listForm);
}
